generate Video Thumbnail Sequence
abstract fun generateVideoThumbnailSequence(block: DesignBlock, thumbnailHeight: Int, timeBegin: Double, timeEnd: Double, numberOfFrames: Int): Flow<VideoThumbnailResult>
Generate a thumbnail sequence for the given video fill or design block. Note: There can only be one thumbnail generation request in progress for a given block. Note: During playback, the thumbnail generation will be paused.
Return
a flow of VideoThumbnailResult object which emits for every generated frame thumbnail. It emits exactly numberOfFrames times.
Parameters
block
the video fill or a design block.
thumbnail Height
the height of a thumbnail. The width will be calculated from the video aspect ratio.
time Begin
the time in seconds relative to the time offset of the design block at which the thumbnail sequence should start.
time End
the time in seconds relative to the time offset of the design block at which the thumbnail sequence should end.
number Of Frames
the number of frames to generate.